/**
 *@description:TODO
 * @author: cai
 *@time:2017年10月13日下午3:57:08
 */
package com.pos.modules.cashier.bean;

import java.io.Serializable;

/**
 * @description:商品信息
 * @author cai
 * @time:2017年10月13日下午3:57:08
 */
public class GoodsBean implements Serializable {
	private static final long serialVersionUID = -2133734093344511667L;
	private String code;
	private String name;
	private long price;
	private int num;

	/**
	 * 
	 */
	public GoodsBean() {
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param code
	 * @param name
	 * @param price
	 * @param num
	 */
	public GoodsBean(String code, String name, long price, int num) {
		super();
		this.code = code;
		this.name = name;
		this.price = price;
		this.num = num;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the price
	 */
	public long getPrice() {
		return price;
	}

	/**
	 * @param price
	 *            the price to set
	 */
	public void setPrice(long price) {
		this.price = price;
	}

	/**
	 * @return the num
	 */
	public int getNum() {
		return num;
	}

	/**
	 * @param num
	 *            the num to set
	 */
	public void setNum(int num) {
		this.num = num;
	}

	/**
	 * @return the serialversionuid
	 */
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
